leds (LED string flash pattern)
The leds command can be used to assign a string of flash patterns to one row of LEDs. This is much faster for controlling an entire row of LEDs. Just three uses of the leds command can set all the LEDs on the system.
Syntax: (see Command structure)
leds row [ptnstr]
row: is address as for ledb above.
[ptnstr] is a string of characters, one per port, starting at port 1. Each character represents a different flash pattern to be assigned to the port. A string of characters will assign flash patterns to the ports. The valid pattern characters can be seen in the LED control
Example
To set up the following flash pattern on the row containing LED one:
Port | LED function |
---|---|
1 | Unchanged |
2 | On |
3 | Flash fast |
4 | Single pulse |
5 | Off |
6 | On continuously |
7 |
On continuously |
8 | Unchanged |
Issue the command:
leds 1 x1fp011 >>
Note that the first LED (port 1) needed to be skipped using the x character. Port 8 was not altered as the pattern string only contained 7 characters.
Notes
-
When no LEDs are present the commands is not found.
-
The LED state is not re-established when remote mode is exited and then re-entered.